package com.sxhalo.fsms.domain;

import java.math.BigDecimal;

public class DeviceSmartRunningData extends DeviceSmartRunningDataKey {
    /**
     * 
     */
    private Integer online;

    /**
     * 合闸状态
     */
    private Integer close;

    /**
     * 故障状态标志
     */
    private Integer trip;

    /**
     * 故障原因代码
     */
    private Integer tripCode;

    /**
     * 有功功率P
     */
    private Float activePower;

    /**
     * 总有功电量
     */
    private Float totalActivePower;

    /**
     * 功率因数cosΦ
     */
    private Float powerFactor;

    /**
     * 电流
     */
    private BigDecimal current;

    /**
     * 电压
     */
    private BigDecimal voltage;

    /**
     * 频率
     */
    private BigDecimal frequency;

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    public Integer getClose() {
        return close;
    }

    public void setClose(Integer close) {
        this.close = close;
    }

    public Integer getTrip() {
        return trip;
    }

    public void setTrip(Integer trip) {
        this.trip = trip;
    }

    public Integer getTripCode() {
        return tripCode;
    }

    public void setTripCode(Integer tripCode) {
        this.tripCode = tripCode;
    }

    public Float getActivePower() {
        return activePower;
    }

    public void setActivePower(Float activePower) {
        this.activePower = activePower;
    }

    public Float getTotalActivePower() {
        return totalActivePower;
    }

    public void setTotalActivePower(Float totalActivePower) {
        this.totalActivePower = totalActivePower;
    }

    public Float getPowerFactor() {
        return powerFactor;
    }

    public void setPowerFactor(Float powerFactor) {
        this.powerFactor = powerFactor;
    }

    public BigDecimal getCurrent() {
        return current;
    }

    public void setCurrent(BigDecimal current) {
        this.current = current;
    }

    public BigDecimal getVoltage() {
        return voltage;
    }

    public void setVoltage(BigDecimal voltage) {
        this.voltage = voltage;
    }

    public BigDecimal getFrequency() {
        return frequency;
    }

    public void setFrequency(BigDecimal frequency) {
        this.frequency = frequency;
    }
}